package com.example.aiquestions.entity;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;


@Data
public class QuestionLibrary {
    private String id;
    private String name;
    private int question_count;
    private String description;
    private Long created_id;
    private Long subject_id;
    private Date created_at;
    private Date updated_at;
    private Integer status;

    public QuestionLibrary() {
    }

    public QuestionLibrary(String id, String name, int question_count, String description, Long created_id, Long subject_id, Date created_at, Date updated_at, Integer status) {
        this.id = id;
        this.name = name;
        this.question_count = question_count;
        this.description = description;
        this.created_id = created_id;
        this.subject_id = subject_id;
        this.created_at = created_at;
        this.updated_at = updated_at;
        this.status = status;
    }


    public String getId() {
        return id;
    }    

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getQuestionCount() {
        return question_count;
    }

    public void setQuestionCount(int question_count) {
        this.question_count = question_count;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getCreatedId() {
        return created_id;
    }

    public void setCreatedId(Long created_id) {
        this.created_id = created_id;
    }   

    public Long getSubjectId() {
        return subject_id;
    }

    public void setSubjectId(Long subject_id) {
        this.subject_id = subject_id;
    }

    public Date getCreatedAt() {
        return created_at;
    }

    public void setCreatedAt(Date created_at) {
        this.created_at = created_at;
    }   

    public Date getUpdatedAt() {
        return updated_at;
    }

    public void setUpdatedAt(Date updated_at) {
        this.updated_at = updated_at;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}